home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form InboxForm
- BackColor = &H00C0C0C0&
- BorderStyle = 3 'Fixed Dialog
- Caption = "Inbox Messages"
- ClientHeight = 2895
- ClientLeft = 1470
- ClientTop = 4725
- ClientWidth = 5970
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 1
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 3270
- Left = 1425
- LinkTopic = "Form4"
- MDIChild = -1 'True
- ScaleHeight = 2895
- ScaleWidth = 5970
- Top = 4395
- Width = 6060
- Begin VB.CheckBox SortMsg
- BackColor = &H00C0C0C0&
- Caption = "Sort Inbox Message"
- Height = 375
- Left = 165
- TabIndex = 5
- Top = 30
- Width = 2175
- End
- Begin VB.CheckBox UnreadMsg
- BackColor = &H00C0C0C0&
- Caption = "Unread Message Only"
- Height = 375
- Left = 2445
- TabIndex = 4
- Top = 30
- Width = 2295
- End
- Begin VB.CommandButton FilterMsg
- Caption = "&Refresh List"
- Height = 285
- Left = 3720
- TabIndex = 3
- Top = 2520
- Width = 1815
- End
- Begin VB.CommandButton OpenMsgBtn
- Caption = "&Open Message"
- Height = 285
- Left = 1920
- TabIndex = 2
- Top = 2520
- Width = 1695
- End
- Begin VB.CommandButton HideWndBtn
- Caption = "&Hide List"
- Height = 285
- Left = 255
- TabIndex = 1
- Top = 2520
- Width = 1575
- End
- Begin VB.ListBox MsgList
- Height = 1785
- Left = 165
- TabIndex = 0
- Top = 510
- Width = 5700
- End
- Begin Mailx16Lib.MMsg MMsg1
- Left = 5400
- Top = 2280
- _version = 65541
- _extentx = 900
- _extenty = 900
- _stockprops = 0
- markasread = 0 'False
- displayerrors = 0 'False
- bindstring = "FormTag1.MSess1"
- End
- Begin Mailx16Lib.MForm MForm1
- Left = 855
- Tag = "FormTag2"
- Top = 2295
- _version = 65541
- _extentx = 5318
- _extenty = 500
- _stockprops = 0
- mxformname = "FormTag2"
- End
- Attribute VB_Name = "InboxForm"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub FilterMsg_Click()
- MMsg1.UnreadOnly = UnreadMsg
- MMsg1.SortMsg = SortMsg
- RefreshList
- End Sub
- Private Sub Form_Load()
- RefreshList
- End Sub
- Private Sub HideWndBtn_Click()
- Unload Me
- End Sub
- Private Sub MsgList_DblClick()
- OpenMsgBtn_Click
- End Sub
- Private Sub OpenMsgBtn_Click()
- Index = MsgList.ListIndex
- If Index = -1 Then
- MsgBox "Select a Mail Message to be opened"
- Else
- MMsg1.FetchMsg = Index + 1
- NewMsgWnd MMsg1
- End If
- End Sub
- Private Sub RefreshList()
- SessionForm.MousePointer = 11
- MsgList.Clear
- nMsg = MMsg1.MsgCount
- MMsg1.Action = ACTION_FINDFIRST
- Do
- If MMsg1.FetchMsg <> 0 Then
- MsgList.AddItem MMsg1.Subject
- MMsg1.Action = ACTION_FINDNEXT
- End If
- Loop While MMsg1.FetchMsg <> 0
- SessionForm.MousePointer = 1
- End Sub
-